<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.freedesktop.UDisks2.Manager.ZRAM: UDisks Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="UDisks Reference Manual">
<link rel="up" href="ch02.html" title="D-Bus Interfaces">
<link rel="prev" href="gdbus-org.freedesktop.UDisks2.Filesystem.BTRFS.html" title="org.freedesktop.UDisks2.Filesystem.BTRFS">
<link rel="next" href="gdbus-org.freedesktop.UDisks2.Block.ZRAM.html" title="org.freedesktop.UDisks2.Block.ZRAM">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gdbus-org.freedesktop.UDisks2.Manager.ZRAM.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gdbus-org.freedesktop.UDisks2.Filesystem.BTRFS.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gdbus-org.freedesktop.UDisks2.Block.ZRAM.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gdbus-org.freedesktop.UDisks2.Manager.ZRAM"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gdbus-interface-org-freedesktop-UDisks2-Manager-ZRAM.top_of_page"></a>org.freedesktop.UDisks2.Manager.ZRAM</span></h2>
<p>org.freedesktop.UDisks2.Manager.ZRAM — ZRAM add-on to the manager singleton</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Methods</h2>
<pre class="synopsis">
<a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.ZRAM.html#gdbus-method-org-freedesktop-UDisks2-Manager-ZRAM.CreateDevices" title="The CreateDevices() method">CreateDevices</a>  (IN  at    sizes,
                IN  at    num_streams,
                IN  a{sv} options,
                OUT ao    zrams);
<a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.ZRAM.html#gdbus-method-org-freedesktop-UDisks2-Manager-ZRAM.DestroyDevices" title="The DestroyDevices() method">DestroyDevices</a> (IN  a{sv} options);
</pre>
</div>
<div class="refsect1">
<a name="gdbus-interface-org-freedesktop-UDisks2-Manager-ZRAM"></a><h2>Description</h2>
<p>       Additional interface with ZRAM specifics for top-level manager
       singleton object located at the object path
       <code class="literal">/org/freedesktop/UDisks2/Manager</code>.
</p>
<p class="since">Since 2.3.0</p>
</div>
<div class="refsect1">
<a name="gdbus-methods-org.freedesktop.UDisks2.Manager.ZRAM"></a><h2>Method Details</h2>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-Manager-ZRAM.CreateDevices"></a><h3>The CreateDevices() method</h3>
<pre class="programlisting">
CreateDevices (IN  at    sizes,
               IN  at    num_streams,
               IN  a{sv} options,
               OUT ao    zrams);
</pre>
<p>        Creates num_devices zram devices.
</p>
<p>        No additional options are currently defined.
</p>
<p>        <span class="emphasis"><em>Changed in version 2.7.0.</em></span>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="literal">IN at <em class="parameter"><code>sizes</code></em></code>:</span></p></td>
<td><p>Requested sizes (in bytes) for created zRAM devices.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="literal">IN at <em class="parameter"><code>num_streams</code></em></code>:</span></p></td>
<td><p>Number of streams for created zRAM devices.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Additional options.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="literal">OUT ao <em class="parameter"><code>zrams</code></em></code>:</span></p></td>
<td><p>object paths of the new ZRAM devices</p></td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.3.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-Manager-ZRAM.DestroyDevices"></a><h3>The DestroyDevices() method</h3>
<pre class="programlisting">
DestroyDevices (IN  a{sv} options);
</pre>
<p>        Destroys all zram devices.
</p>
<p>        No additional options are currently defined.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Additional options.</p></td>
</tr></tbody>
</table></div>
<p class="since">Since 2.3.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>